]> dgit.raspbian.org Git - gnome-shell.git/commit
js: Check for this.constructor type instead of new.target
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 18 Apr 2019 20:55:34 +0000 (15:55 -0500)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Sat, 27 Apr 2019 01:48:52 +0000 (20:48 -0500)
commitbbd3275dadeeec28bd47a7cbec1b72a5bec8212e
treeb473d9c5802ba0b71700f8238ea307431d903fc1
parent3a3f9aa008e709e0a3c3535434efffb0231e4279
js: Check for this.constructor type instead of new.target

Use more ES6-inspired check for classes initializations.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/503
js/ui/appDisplay.js
js/ui/popupMenu.js
js/ui/status/keyboard.js
js/ui/status/network.js
js/ui/workspace.js